﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChangeOilDrum.aspx.cs" Inherits="CanDoo.Oil.WebApp.APIAPIOperateLog.ChangeOilDrum" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>油桶更换日志</title>
    <link href="/res/css/common.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManagerMain" AutoSizePanelID="PanelMain" runat="server" />
        <f:Panel ID="PanelMain" runat="server" BodyPadding="5px"
            ShowBorder="false" Layout="VBox" BoxConfigAlign="Stretch"
            BoxConfigPosition="Start" ShowHeader="false">
            <Items>
                <f:Form ID="SearchBar" runat="server" ShowHeader="false"
                    ShowBorder="false">
                    <Items>
                        <f:Panel ID="PanelSearch" ShowHeader="false" ShowBorder="false" runat="server" Layout="Column" BoxConfigAlign="Stretch">
                            <Items>
                                <%--<f:DropDownList ID="SearchOilSalesSerialNum" runat="server" ShowLabel="false" CssClass="marginr">
                                </f:DropDownList>
                                <f:DropDownList ID="SearchOilSerialNum" runat="server" ShowLabel="false" CssClass="marginr">
                                </f:DropDownList>--%>
                                <f:TwinTriggerBox ID="SearchKey" runat="server" ShowLabel="false" EmptyText="请输入检索关键词"
                                    Trigger1Icon="Clear" Trigger2Icon="Search" ShowTrigger1="false" OnTrigger2Click="search_Key_Trigger2Click"
                                    OnTrigger1Click="search_Key_Trigger1Click" CssClass="marginr">
                                </f:TwinTriggerBox>
                                <f:Button ID="btnSearch" runat="server" Text="查询" CssClass="marginr">
                                </f:Button>
                                <f:Button ID="btnReset" runat="server" Type="Reset" Text="重置">
                                </f:Button>
                            </Items>
                        </f:Panel>
                    </Items>
                </f:Form>
                <f:Grid ID="GridList" runat="server" BoxFlex="1" ShowBorder="true" ShowHeader="false"
                    EnableCheckBoxSelect="true" DataKeyNames="Id" AllowSorting="false"
                    OnSort="GridList_Sort" SortField="ID" SortDirection="DESC" AllowPaging="true"
                    IsDatabasePaging="true" OnPreDataBound="GridList_PreDataBound" OnRowCommand="GridList_RowCommand"
                    OnPageIndexChange="GridList_PageIndexChange" OnRowDataBound="GridList_RowDataBound" EnableTextSelection="true">
                    <Toolbars>
                        <f:Toolbar ID="GridToolbar" runat="server">
                            <Items>
                                <f:Button ID="btnShowSearchBar" runat="server" Text="显示查询">
                                </f:Button>
                                <f:Button ID="btnRefresh" runat="server" Text="刷新">
                                </f:Button>
                                <f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
                                <f:Button ID="btnPrint" runat="server" Text="打印" Hidden="true" Enabled="false">
                                </f:Button>
                                <f:Button ID="btnImport" runat="server" Text="导入" Hidden="true" Enabled="false">
                                </f:Button>
                                <f:Button ID="btnExport" runat="server" Text="导出" Hidden="true" Enabled="false">
                                </f:Button>
                            </Items>
                        </f:Toolbar>
                    </Toolbars>
                    <PageItems>
                        <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                        </f:ToolbarSeparator>
                        <f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数：">
                        </f:ToolbarText>
                        <f:DropDownList ID="ddlGridPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlGridPageSize_SelectedIndexChanged"
                            runat="server">
                            <f:ListItem Text="10" Value="10" />
                            <f:ListItem Text="20" Value="20" />
                            <f:ListItem Text="50" Value="50" />
                            <f:ListItem Text="100" Value="100" />
                        </f:DropDownList>
                    </PageItems>
                    <Columns>
                        <f:RowNumberField />
                        <f:BoundField ColumnID="Name" DataField="Name" HeaderText="日志概述" ExpandUnusedSpace="true"  MinWidth="200px"/>
                        <f:BoundField ColumnID="OilSalerNo" DataField="OilSalerNo" HeaderText="售油机" Width="100px" />
                        <f:BoundField ColumnID="OilPort" DataField="OilPort" HeaderText="通道号" Width="80px" />
                        <f:BoundField ColumnID="OilSerialNum" DataField="OilSerialNum.SerialNumber" HeaderText="油桶序列号" Width="100px" />
                        <f:BoundField ColumnID="OpreateTime" DataField="OpreateTime" HeaderText="操作时间" Width="150px" />
                    </Columns>
                </f:Grid>
            </Items>
        </f:Panel>
        <f:Window ID="WindowEdit" CloseAction="Hide" runat="server" IsModal="true" Hidden="true" Target="Top"
            EnableResize="true" EnableMaximize="true" EnableIFrame="true" IFrameUrl="about:blank"
            Width="900px" Height="500px" OnClose="WindowEdit_Close">
        </f:Window>
    </form>
</body>
</html>
